package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomequipmentsupplier.vo;

import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @Description:
 * @Author: Link
 * @CreateTime: 2023-05-18 20:04
 * @Version: 1.0
 */
@Schema(description = "管理后台 - 供应商管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class EquipmentSupplierPageReqVO extends PageParam {

    @Schema(description = "名称")
    private String name;

    @Schema(description = "售后电话")
    private String afterSalesTel;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "客户经理")
    private String accountManager;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "供应商地址")
    private String address;

    @Schema(description = "合作开始时间")
    private LocalDate cooperationAt;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "关键词")
    private String keyWord;

}
